<div class="tabgroup">
    <repeat:tab>
        <a href="[:url:]"><span class="childtab [:selected:]">[:name:]</span></a>
    </repeat:tab>
</div>